<style>
table tbody tr{
	height:25px;
}
tbody tr .td_table{
	padding-left:20px;
	width:30%;
}
tbody tr .td_table1{
	padding-left:20px;

}
</style>
<?php echo $javascript->link('jquery.validate', true); ?>
<script>
$().ready(function() {
	
	$("#myForm").validate({
		rules: {
			oldpass: {
				required: true
				
			},
			newpass: {
				required: true
			},
			
		},
		messages: {
			oldpass: {
				required: "<br><span style='color:#FF0000; margin:10px;'>Xin vui  lòng nhập mật khẩu cũ</span> "
				},
			
			
			newpass: {
				required: "<br><span style='color:#FF0000;margin:10px; '>Xin vui lòng nhập mật khẩu mới</span>"
				},
			
		}
	});	
});
</script>
<div id="middle" class="company">	
	<div class="title">			
		<h1 style="font-size:20px;">Thay đổi mật khẩu</h1>
	</div>
	 
	<div class="content">
    	
		<div id="contents" title="" style="overflow:none;"> 
        	<table width="104%" height="25" cellspacing="0" cellpadding="0" border="0">
			<tbody><tr>
			<td bgcolor="#7CC0EE" style="padding-left:20px; padding-right: 20px;"><b>Thông tin cá nhân:</b>&nbsp;&nbsp;<?php echo $this->data['Member']['name']?> </td>
			<td width="140" bgcolor="#7CC0EE" style="padding-left:20px; padding-right: 20px;"></td>
			</tr>
			</tbody></table>
            <form action="<?php echo System?>/infors/changepass" method="post" name="adminForm" enctype="multipart/form-data" id="myForm" autocomplete="off">
            <table width="104%" cellspacing="1" cellpadding="1" border="0" bgcolor="#CCCCCC">
              <tbody>	                       
                <tr bgcolor="#FFFFFF" >
                    <td class="td_table">Họ và tên</td>
                    <td class="td_table1" ><?php echo $this->data['Member']['name']?></td>
                                      
                </tr>
                <tr bgcolor="#FFFFFF">
                    <td  class="td_table">Tài khoản đăng nhập</td>
                    <td class="td_table1"><?php echo $this->data['Member']['user']?></td>
				</tr>
                <tr bgcolor="#FFFFFF">
                    <td  class="td_table">Chứng minh thư nhân dân</td>
                    <td class="td_table1"><?php echo $this->data['Member']['passport']?></td>
				</tr>
                <tr bgcolor="#FFFFFF">
                    <td  class="td_table">Email</td>
                    <td class="td_table1"><?php echo $this->data['Member']['email']?></td>
				</tr>
                <tr bgcolor="#FFFFFF">
                    <td  class="td_table" >Yahoo</td>
                    <td class="td_table1"><?php echo $this->data['Member']['yahoo']?></td>
				</tr>
                <tr bgcolor="#FFFFFF">
                    <td class="td_table" >Skype</td>
                    <td class="td_table1"><?php echo $this->data['Member']['skype']?></td>
				</tr>
                 <tr bgcolor="#FFFFFF">
                    <td  class="td_table">Địa chỉ</td>
                    <td class="td_table1"><?php echo $this->data['Member']['add']?></td>
				</tr>
                 <tr bgcolor="#FFFFFF">
                    <td  class="td_table">Mật khẩu cũ</td>
                    <td class="td_table1"><input type="password" name="oldpass" size="40" /></td>
				</tr>
                 <tr bgcolor="#FFFFFF">
                    <td  class="td_table">Mật khẩu mới</td>
                    <td class="td_table1"><input type="password" name="newpass" size="40" /></td>
				</tr>
                
            </tbody>
            	
           </table>
           <p><input type="submit" name="" value="Cập nhật"  style="height:25px"/></p>
           </form>
        </div>               
			
	</div>
	<span class="clear"></span>
</div>